﻿using Journal.Admin.Presentation.Models;
using Journal.Domain.Models;

namespace Journal.Admin.Presentation.Mappers
{
    public static class RoleMapper
    {
        public static void MapTo(this RoleModel source, Role role)
        {
            role.Id = source.Id;
            role.Name = source.Name;
        }
    }
}